package com.zixuan.gulicollege.video.utils;

import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.profile.DefaultProfile;

/**
 * @ClassName InitObject
 * @Author by zixuan
 * @Date 2021/5/13 20:10
 */

public class InitObject {

    public static DefaultAcsClient initVodClient(String accessKeyId, String accessKeySecret){
        String region = "cn-shanghai";
        DefaultProfile profile = DefaultProfile.getProfile(region, accessKeyId, accessKeySecret);
        return new DefaultAcsClient(profile);
    }


}
